package com.leo.erp.dao;

import java.math.BigDecimal;

import org.apache.ibatis.annotations.Param;

import com.leo.erp.dto.DepotItemExecution;

public interface DepotItemDao {
	BigDecimal inOrOutPrice(
            @Param("type") String type,
            @Param("subType") String subType,
            @Param("MonthTime") String MonthTime);
	
	/**
	 * 初始库存
	 * @param depotId
	 * @param materialId
	 * @param beginTime
	 * @param endTime
	 * @param tenantId
	 * @return
	 */
	DepotItemExecution getStockByParam(
            @Param("depotId") int depotId,
            @Param("mId") int materialId,
            @Param("beginTime") String beginTime,
            @Param("endTime") String endTime,
            @Param("tenantId") int tenantId);
}
